Reorganize content of web_monitoring into directories #528
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This reorganizes the content of
web_monitoring
into a hierarchy of modules with several directories based on this discussion: #206 (comment)diff
diff_server
(I renamed the module itself todiff_server/server.py
)cli
cli.py
fileia_healthcheck
scriptannotations_import
scriptAs part of moving the scripts, I’d like to reconfigure our CLI setup so we only have two scripts:
wm
andwm-diff-server
. Thewm
command currently haswm import ia
andwm import ia-known-pages
subcommands, and I’m thinking I’d addwm ia-healthcheck
andwm annotations-import
. I think there might be room to rethink the command names and structure more, but that’s probably out of scope for this PR (making this script change is already questionably big).Out of scope, but probably things we might want to do after this PR:
diff_server/server.py
.diff
.cli/cli.py
a bit.__init__.py
files for easier access to subpackage contents.